Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

rpcclient: Cancel client context on shutdown. #2678

Merged
merged 1 commit into from
Jul 15, 2021

Conversation

davecgh
Copy link
Member

@davecgh davecgh commented Jul 14, 2021

This introduces a child context with cancellation to the manual Connect method and cancels it when the client is manually stopped via Shutdown to ensure callers are still able to shutdown the client via that method when using manual connections in addition to when using automatic ones.

@davecgh davecgh added this to the 1.7.0 milestone Jul 14, 2021
This introduces a child context with cancellation to the manual Connect
method and cancels it when the client is manually stopped via Shutdown
to ensure callers are still able to shutdown the client via that method
when using manual connections in addition to when using automatic ones.
@davecgh davecgh force-pushed the rpcclient_cancel_ctx_shutdown branch from abe1f65 to c9521b4 Compare July 15, 2021 03:57
@davecgh davecgh merged commit c9521b4 into decred:master Jul 15, 2021
@davecgh davecgh deleted the rpcclient_cancel_ctx_shutdown branch July 15, 2021 04:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants